package com.sj.parksdk.net.base;

import com.xuexiang.xhttp2.model.ApiResult;

public class CommonResult<T> extends ApiResult<T> {
    private String message = "";

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }



    @Override
    public String getMsg() {
        return message;
    }

    @Override
    public boolean isSuccess() {
        return getCode() == 200;
    }
}
